import App from './App.vue'
import router from './router'
import { createApp } from 'vue'
import pinia from '@/stores'
// 导入svg地图打包插件
import 'virtual:svg-icons-register'
// 测试枚举
// import '@/enums/index'

// import { createPinia } from 'pinia'
// import persist from 'pinia-plugin-persistedstate'

// 导入vant的全局样式 后面的main可以覆盖它
import 'vant/lib/index.css';
import './styles/main.scss'


const app = createApp(App)

// 使用pinia插件
app.use(pinia)
app.use(router)

app.mount('#app')
